//
//  ActListHeaderView.m
//  TravelFirst
//
//  Created by lanou3g on 15/9/21.
//  Copyright (c) 2015年 吴娅君. All rights reserved.
//

#import "ActListHeaderView.h"

@implementation ActListHeaderView

- (instancetype)initWithFrame:(CGRect)frame pic:(NSString *)str{
    self = [super initWithFrame:frame];
    if(self){
        UIImageView *view = [[UIImageView alloc] initWithFrame:CGRectMake(0, 0, kWidth, self.bounds.size.height)];
        view.backgroundColor=[UIColor yellowColor];
        [view sd_setImageWithURL:[NSURL URLWithString:str]];
        [self addSubview:view];
    }
    return self;
}

@end
